OnTime REST API
OnTime REST API / REST Endpoints Resource Group / api/priceModifiers/{id} (Get)
In This Topic
    Getapi/priceModifiers/{id}
    In This Topic

    Resource Path: /sites/{company-id}/api/priceModifiers/{id}

    Uri: https://secure.ontime360.com/sites/{company-id}/api/priceModifiers/{id}

    Description
    Retrieves a single PriceModifier object assigned to a given identifier.
    Parameters
    NameDescriptionData Type
    The unique identifier of a PriceModifier as a Guid.string
    200 Response

    The response body is of type PriceModifier.

    Returns a comprehensive PriceModifier object.

    Overview

    PriceModifier
    Represents a comprehensive PriceModifier record within the OnTime API.
    ID : string
    The unique identifier for this PriceModifier record.
    Name : string
    The name of this PriceModifier.
    CustomValue : number
    The user-defined custom value assigned to this PriceModifier.
    PercentCommissionable : number
    The percentage-based value used to determine the commissionable amount for this PriceModifier.
    Price : number
    The calculated price of this PriceModifier.
    Type : string
    The pre-defined {OnTime.Extensions.SDK.PriceModifierBase.PriceModifierType} detailing the pricing calculation behavior of this PriceModifier. Available Values: [Other, SignatureCapture, CashOnDelivery, DistanceBasePrice, AdHocCharge, Tax]
    Input : string
    The pre-defined {OnTime.Extensions.SDK.PriceModifierBase.InputFieldType} detailing the field-specific behavior used when calculating the pricing of this PriceModifier. Available Values: [None, Weight, Quantity, Mileage, Dimensions, Custom, DeclaredValue, BasePrice, Height, Width, Depth, ZoneLookupTable]
    Fault Responses
    FaultDescription
    Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information.
    Authorization key is invalid or no longer exists.
    Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information.
    See Also